# ip record 121.48.158.70
# http://121.48.158.70:8018/

# vim bashrc
  alias vimbashrc='vim ~/bashrc && source ~/bashrc'

# PS
  export PS1="\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]\$ "

# pip
  alias pi2='pip install -i https://pypi.tuna.tsinghua.edu.cn/simple'
  alias pi3='pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple'

# git
  alias gitc='git clone'
  alias gitm='git commit -m'
  alias gits='git status -s'

# docker
  alias decho='echo ------------------------------------------------------------------------------------------------------------------------------------------------'
  alias dll='clear && decho && docker images && decho && docker ps -s && decho'
  alias dls='clear && decho && docker images && decho && docker ps -sa && decho'
  alias dnet='netstat -tunlp'
  alias drm='docker rm'
  alias dstart='docker start'
  alias dstop='docker stop'
  alias dexe='f(){ docker exec -it "$1" /bin/bash; unset -f f; }; f'

# only for ubuntu
  alias nv='watch -n 3 nvidia-smi'     # gpu status
  alias open='nautilus'                # file system like mac
  # alias ll='ls -ahlF'                # h for human read [m G].etc
  alias xmind='cd ~/Asoft/xmind8/XMind_amd64 && ./XMind'

# jdk path
  export JAVA_HOME=/usr/local/java/jdk1.8
  export JRE_HOME=${JAVA_HOME}/jre
  export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
  export PATH=${JAVA_HOME}/bin:$PATH
